package yl.hs.bmipfull.pojo.laboratorydata;

import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;
import yl.hs.bmipfull.pojo.IParent;

/**
 * 作用:   <br/>
 * 创建时间: 2022-06-17 10:50 <br/>
 *
 * @author 吴高丰
 */
@DBTable(disName = "检测标准项", mapCode = "lab_experiment_items")
public class LabExperimentItemsEntity extends BaseEntity implements IParent{
    @DBField(disName = "主键", mapCode = "id")
    public long id;
    @DBField(disName = "标识", mapCode = "sn",snPrefix = "BZX",isSerialNumber = true)
    public String sn;
    @DBField(disName = "标准标识", mapCode = "definitionSN")
    public String definitionSN;
    @DBField(disName = "项名称", mapCode = "name")
    public String name;
    @DBField(disName = "项类型", mapCode = "model")
    public boolean model;
    @DBField(disName = "分级层", mapCode = "layer")
    public int layer;
    @DBField(disName = "父级编号", mapCode = "parentSN")
    public String parentSN;
    @DBField(disName = "父级代码", mapCode = "parentCode")
    public String parentCode;
    @DBField(disName = "标准值", mapCode = "standardValue")
    public String standardValue;
    @DBField(disName = "标准说明", mapCode = "description")
    public String description;
    @DBField(disName = "状态", mapCode = "state")
    public short state;
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getDefinitionSN() {
        return definitionSN;
    }

    public void setDefinitionSN(String definitionSN) {
        this.definitionSN = definitionSN;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isModel() {
        return model;
    }

    public void setModel(boolean model) {
        this.model = model;
    }

    public int getLayer() {
        return layer;
    }

    public void setLayer(int layer) {
        this.layer = layer;
    }

    public String getParentSN() {
        return parentSN;
    }

    public void setParentSN(String parentSN) {
        this.parentSN = parentSN;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public String getStandardValue() {
        return standardValue;
    }

    public void setStandardValue(String standardValue) {
        this.standardValue = standardValue;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public short getState() {
        return state;
    }

    public void setState(short state) {
        this.state = state;
    }
}
